package com.tianruan.psychological.moduls.sys.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianruan.psychological.moduls.sys.user.entry.db.PermissionDO;
import com.tianruan.psychological.moduls.sys.user.entry.dto.PermissionDTO;
import org.springframework.stereotype.Service;



/**
 * @Author: Dong
 * @Email: dong980514280@gmail.com
 * @Create: 2020-09-20 10:07
 * @PS
 */
public interface IPermissionService extends IService<PermissionDO> {


    IPage<PermissionDO> pagePermission(Page<PermissionDO> page, PermissionDTO permissionDTO);

    PermissionDO insertPermission(PermissionDO permission);

}
